package team.group.exam.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * TbQuestionbank entity. @author MyEclipse Persistence Tools
 */

public class TbQuestionbank implements java.io.Serializable {

	// Fields

	private Integer titleId;
	private String titleContent;
	private String questionAnswerA;
	private String questionAnswerB;
	private String questionAnswerC;
	private String questionAnswerD;
	private String questionRightAnswer;
	private String questionDetail;
	private Double questionGrade;
	private String questionType;
	private Set tbPaperBanks = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbQuestionbank() {
	}

	/** full constructor */
	public TbQuestionbank(String titleContent, String questionAnswerA,
			String questionAnswerB, String questionAnswerC,
			String questionAnswerD, String questionRightAnswer,
			String questionDetail, Double questionGrade, String questionType,
			Set tbPaperBanks) {
		this.titleContent = titleContent;
		this.questionAnswerA = questionAnswerA;
		this.questionAnswerB = questionAnswerB;
		this.questionAnswerC = questionAnswerC;
		this.questionAnswerD = questionAnswerD;
		this.questionRightAnswer = questionRightAnswer;
		this.questionDetail = questionDetail;
		this.questionGrade = questionGrade;
		this.questionType = questionType;
		this.tbPaperBanks = tbPaperBanks;
	}

	// Property accessors

	public Integer getTitleId() {
		return this.titleId;
	}

	public void setTitleId(Integer titleId) {
		this.titleId = titleId;
	}

	public String getTitleContent() {
		return this.titleContent;
	}

	public void setTitleContent(String titleContent) {
		this.titleContent = titleContent;
	}

	public String getQuestionAnswerA() {
		return this.questionAnswerA;
	}

	public void setQuestionAnswerA(String questionAnswerA) {
		this.questionAnswerA = questionAnswerA;
	}

	public String getQuestionAnswerB() {
		return this.questionAnswerB;
	}

	public void setQuestionAnswerB(String questionAnswerB) {
		this.questionAnswerB = questionAnswerB;
	}

	public String getQuestionAnswerC() {
		return this.questionAnswerC;
	}

	public void setQuestionAnswerC(String questionAnswerC) {
		this.questionAnswerC = questionAnswerC;
	}

	public String getQuestionAnswerD() {
		return this.questionAnswerD;
	}

	public void setQuestionAnswerD(String questionAnswerD) {
		this.questionAnswerD = questionAnswerD;
	}

	public String getQuestionRightAnswer() {
		return this.questionRightAnswer;
	}

	public void setQuestionRightAnswer(String questionRightAnswer) {
		this.questionRightAnswer = questionRightAnswer;
	}

	public String getQuestionDetail() {
		return this.questionDetail;
	}

	public void setQuestionDetail(String questionDetail) {
		this.questionDetail = questionDetail;
	}

	public Double getQuestionGrade() {
		return this.questionGrade;
	}

	public void setQuestionGrade(Double questionGrade) {
		this.questionGrade = questionGrade;
	}

	public String getQuestionType() {
		return this.questionType;
	}

	public void setQuestionType(String questionType) {
		this.questionType = questionType;
	}

	public Set getTbPaperBanks() {
		return this.tbPaperBanks;
	}

	public void setTbPaperBanks(Set tbPaperBanks) {
		this.tbPaperBanks = tbPaperBanks;
	}

}